#include<stdio.h>
#include<math.h>
int main(void)
{
	int score[3] = { 0 };
		int num, i;
	double average, sum;
	do
	{
		printf("Please input students numbers\n");
		scanf_s("%d", &num);
	} while (num <=0 || num>3);
	for (i = 0, sum = 0; i <num; i++)
	{
		printf("Please input a score\n");
		scanf_s("%d", &score[i]);
		sum += score[i];
	}
	for(i=0;i<num ;i++) printf("the score is %d\n", score[i]);
	average = sum / num;
	printf("The average scores is %lf", average);
	return 0;





}